package cn.sxw.ld;

import cn.sxw.ld.common.dto.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ClassName:ReGi
 * Package:cn.sjxy.mySys
 * Description:
 *
 * @Date:2022/5/23 18:04
 * @Author:SXW
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement // 开启事务控制支持
@EnableCaching // 开启缓存
@EnableScheduling
@EnableConfigurationProperties
public class MySys extends R {

    public static void main(String[] args) {
        SpringApplication.run(MySys.class, args);
    }

}
